package com.siae.pojo;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("university")
@Schema(name = "university",description = "大学信息")
public class University {
    @TableId(type = IdType.AUTO)
    private Integer id;
    @Schema(name = "universityName",description = "学校名称")
    @TableField(value = "university_name")
    private String universityName;
    @Schema(name = "universityLogo",description = "学校标识码")
    @TableField(value = "university_logo")
    private String universityLogo;
    @Schema(name = "competentDepartment",description = "主管部门")
    @TableField(value = "competent_department")
    private String competentDepartment;
    @Schema(name = "place",description = "所在地")
    @TableField(value = "place")
    private String place;
    @Schema(name = "universityRunning",description = "办学层次")
    @TableField(value = "university_running")
    private String universityRunning;
    @Schema(name = "remark",description = "备注")
    @TableField(value = "remark")
    private String remark;
}
